package com.mjw.example.mysql.isolation.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface BankCardMapper {

    public Integer getBalance(Integer id);

    void cost(@Param("id") int id, @Param("money") int money);

    int countBankCard();

    void addBankCard();

    int findBankCardByBalance(int banlance);

    void updateBankCardByBalance(int balance);
}
